package cn.sirun.com.fca.personal.center.loader;


import com.tencent.cloud.iov.kernel.model.BaseResponse;

import cn.sirun.com.fca.account.model.base.SubmitPhoneResponse;
import cn.sirun.com.fca.account.model.register.RegisterSubmitResponse;
import cn.sirun.com.fca.personal.center.model.request.ChangeAccountResendRequest;
import cn.sirun.com.fca.personal.center.repo.ProfileRepository;
import io.reactivex.Observable;
import io.reactivex.schedulers.Schedulers;

public class ChangeBindAccountLoader extends PersonalCenterFlowLoader {

    public Observable<BaseResponse<SubmitPhoneResponse>> submitBindAccount(ChangeAccountResendRequest request) {
        return ProfileRepository.getInstance().submitBindAccount(request)
                .subscribeOn(Schedulers.io());
    }
}
